package com.minelx.serverandclient.stream.divider;

import java.io.InputStream;

public class StreamDividerFactory implements IDividerFactory {
	private final InputStream source;

	public StreamDividerFactory(InputStream source) {
		this.source = source;
	}

	@Override
	public Divider create(int dividedLength) {
		return new StreamDivider(source, dividedLength);
	}
}
